<?
$q = 'select count(*) as cnt from hl_listings where status = 2';
$sth = mysql_query ( $q );
$row = mysql_fetch_array ( $sth );
?>
<div style="width: 172px;" class="LeftMenu">
	<div class="Item"><a href=?a=groups>Groups</a></div>
	<div class="Item"><a href=?a=listings>Listings</a></div>
	<div class="Item"><a href=?a=new_listings>Waiting Approval(<?php echo $row ['cnt']; ?>  )</a></div>
	<div class="Item">&nbsp;</div>
	<div class="Item"><a href=?a=minibanners>Text ADs & Mini Banners</a></div>
	<div class="Item"><a href=?a=toprotatingbanners>Top Rotating Banners</a></div>
	<div class="Item"><a href=?a=rotatingbanners>Rotating Banners</a></div>
	<div class="Item">&nbsp;</div>
	<div class="Item"><a href=?a=maillist>Mail List</a></div>
	<div class="Item">&nbsp;</div>
	<div class="Item"><a href=?a=edit_emails>E-Mail Templates</a></div>
	<div class="Item">&nbsp;</div>
	<div class="Item"><a href=?a=settings>Settings</a></div>
	<div class="Item"><a href=?a=sections>Sections Management</a></div>
	<div class="Item">&nbsp;</div>
	<div class="Item"><a href=?a=logout>Logout</a></div>
</div>
